$(document).ready(function(){
    
   $('body').delegate('.search_btn', 'click', function() {
       var search_value = $("#store").val();
       var postdata = {};
               
                postdata['search_value'] = search_value;
                jQuery.post( '/sevenelevencitrus/home.php?action=search', postdata, function(resp) {
                 // alert(resp);
                  window.location = 'location.php?store_id='+resp;
                    //history.go(0);
                });
        return false;
    });
    
});